import request from '@/utils/request'

//查询归档信息
export function listSummarize(pid){
    return request({
        url:'/summarize/'+pid,
        method:'get',
    })
}
export function updateOthers(pid,file){
    return request({
        url:'/summarize/'+pid,
        method:'put',
        data:file,
    })
}
export function insertSummarize(data){
    return request({
        url:'/summarize',
        method:'post',
        data:data,
    })
}

export function removeFile(name){
    return request({
        url:'/common/download?fileName='+name+'&delete=true',
        method:'get'
    })
}
export function checkFinish(id){
    return request({
        url:'/summarize/finish/'+id,
        method:'get'
    })
}
